package cn.jingzhuan.fm.mvp.model

import cn.jingzhuan.fm.mvp.contract.FMAudioDocumentContract
import cn.jingzhuan.fm.network.FMApiService
import cn.jingzhuan.fm.network.json.JsonResponse
import cn.jingzhuan.fm.pojo.FMArticle
import io.reactivex.Flowable
import javax.inject.Inject


class FMAudioDocumentModel @Inject constructor(val fmApiService: FMApiService) : FMAudioDocumentContract.Model{

    override fun articleFind(audioId: String): Flowable<JsonResponse<FMArticle>> = fmApiService.articleFind(audioId)

}